package Namensdienst;

/**
 * 
 * Represent an Object in the Name service
 * to resolve names
 */
public class NameObject {
	private Class<?> class_o;
	private String ip;
	private int port;
	
	public NameObject(Class<?> class_o, String ip, int port) {
		this.class_o = class_o;
		this.ip = ip;
		this.port = port;
	}
	
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Class<?> getClass_o() {
		return class_o;
	}
	
	public void setClass_o(Class<?> class_o) {
		this.class_o = class_o;
	}
	
	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}
}
